package com.wuchao.mapper;

import com.wuchao.entity.Category;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author wuchao66
 * @Date 2023/10/8 11:03
 * @PackageName:com.wuchao.mapper
 * @ClassName: CategoryMapper
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public interface CategoryMapper {
    List<Category> findCategory();//1对多

    @Select("select * from category")
    List<Category> findCategory1();
}
